<template>
  <div class="app-container">
    <el-radio-group v-model="dataType" style="margin-bottom: 10px">
      <!-- <el-radio-button label="juese">角色管理</el-radio-button> -->
      <el-radio-button label="Date">最近就医</el-radio-button>
      <el-radio-button label="Reasons">就医原因</el-radio-button>
      <el-radio-button label="Frequency">服药频率</el-radio-button>
      <el-radio-button label="Category">药物类别</el-radio-button>
      <el-radio-button label="Relationship">关系</el-radio-button>
      <el-radio-button label="Password">默认密码</el-radio-button>
      <el-radio-button label="Other">其它</el-radio-button>
    </el-radio-group>
    <Category v-show="dataType === 'Category'"></Category>
    <Date v-show="dataType === 'Date'"></Date>
    <Frequency v-show="dataType === 'Frequency'"></Frequency>
    <Password v-show="dataType === 'Password'"></Password>
    <Reasons v-show="dataType === 'Reasons'"></Reasons>
    <Relationship v-show="dataType === 'Relationship'"></Relationship>
    <Other v-show="dataType === 'Other'"></Other>

  </div>
</template>

<script>
import Category from './modules/category/index.vue'
import Date from './modules/date/index.vue'
import Frequency from './modules/frequency/index.vue'
import Password from './modules/password/index.vue'
import Reasons from './modules/reasons/index.vue'
import Relationship from './modules/relationship/index.vue'
import Other from './modules/other/index.vue'

export default {
  name: "Dict",
  dicts: ['sys_normal_disable'],
  components: {
    Category,
    Date,
    Frequency,
    Password,
    Reasons,
    Relationship,
    Other
  },
  data() {
    return {
      dataType: 'Date'
    };
  },
  created() {
    
  },
  methods: {}

};
</script>